package com.common.util.update;

import android.Manifest;
import android.os.Environment;

import java.io.File;

/**
 * @文件名称：Constant.java
 * @文件作者：ljb
 * @文件描述：
 * @版本： 1.0.0
 * @创建时间：2017-12-21 11:42
 * @修改历史：2017-12-21 11:42
 */

public class Constant {
//    public static final String filePath = Environment.getExternalStorageDirectory()+ File.separator + AppUtils.getPackageName() + File.separator
//            + AppUtils.getApplicationLabel() + ".apk";

    public static String filePath = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS) + File.separator + "app-release.apk";
//    public static String filePath = Environment.getExternalStorageDirectory() + File.separator + "zx.apk";


    /**
     * 权限常量相关
     */
    public static final int WRITE_READ_EXTERNAL_CODE = 0x01;
    public static final String[] WRITE_READ_EXTERNAL_PERMISSION = new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE,
                                Manifest.permission.READ_EXTERNAL_STORAGE};
}
